package com.zoespeer.food_delivery_comment_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user_favorites")
public class UserFavorites {
    @TableId(type = IdType.AUTO) // 假设favorite_id是自增主键
    private Integer favoriteId;
    private String userId;
    private Integer restaurantId;
    private LocalDateTime createdAt;
}